from PyQt5 import QtWidgets, uic,QtCore,QtGui
import sys
from MainUi import mainui
from db import *

if __name__ == "__main__":
    # print("============== 连接数据库 ==================")
    # db = conndb()
    # print("连接成功！")

    app = QtWidgets.QApplication(sys.argv)
    window = mainui()   #创建窗体对象
    window.show()    #窗体显示
    sys.exit(app.exec_())

